<style type="text/css">
<!--
body {
	background-color: #0099FF;
}
-->
</style><body><?php
     include("../../MerchandiseBay/conn.php");

     $name=$_REQUEST['name'];
     $telno=$_REQUEST['telno'];
	 $email=$_REQUEST['email'];
	 $address=$_REQUEST['address'];
     $reservationDate=$_REQUEST['reservationdate'];
     $codeProduct=$_REQUEST['codeproduct'];  
     $category=$_REQUEST['category'];
     $kind=$_REQUEST['kind'];
      
     $sql="INSERT INTO `reservation` (`id` ,`name` ,`telno` ,`email` ,`reservationdate` ,`address` ,`codeproduct` ,`category` ,`kind` ,`status` )
           VALUES ('','$name','$telno','$email','$reservationDate','$address','$codeProduct','$category','$kind','non')";
	 
	  
	  


     $qry=mysql_query($sql,$conn);
     
	 if($qry==true)
	 {
	 
    echo  "<script language=javascript>
           window.alert('Thanks for your PAYMENT. We will contact you time to time.');
           window.location.assign('paymentForm.php');
		   </script>";
          
     
	
	}
	else
	{
	
	     die (mysql_error());
	}
	?>
